﻿<%@ Page Language="C#" MasterPageFile="~/Paginas/Paginas Master/Paginasweb.Master" AutoEventWireup="true" CodeBehind="NuevoLocal.aspx.cs" Inherits="bi4homev3.Paginas.NuevoLocal" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style10
        {
            width: 63%;
            height: 202px;
        }
        .style12
        {
            width: 404px;
            text-align: left;
        }
        .style13
        {
            width: 106px;
        }
        .style14
        {
            width: 106px;
            height: 41px;
        }
        .style15
        {
            width: 572px;
            height: 29px;
        }
    .style16
    {
        width: 404px;
        text-align: left;
    }
    .style17
    {
    }
    .style18
    {
        width: 101px;
        height: 29px;
            font-family: Arial, Helvetica, sans-serif;
            text-align: left;
        }
    .style19
    {
        width: 101px;
        height: 11px;
            font-family: Arial, Helvetica, sans-serif;
            text-align: left;
        }
    .style20
    {
        width: 230px;
        text-align: left;
        height: 11px;
            font-family: Arial, Helvetica, sans-serif;
        }
    .style22
    {
        width: 230px;
        text-align: left;
        height: 6px;
            font-family: Arial, Helvetica, sans-serif;
        }
    .style23
    {
        width: 101px;
        height: 6px;
            font-family: Arial, Helvetica, sans-serif;
            text-align: left;
        }
    .style24
    {
        font-size: large;
        font-family: "Arial Black";
        text-align: left;
    }
        .style25
        {
            font-family: Arial, Helvetica, sans-serif;
        }
        .style26
        {
            width: 230px;
            text-align: left;
            font-family: Arial, Helvetica, sans-serif;
        }
        .style27
        {
            font-family: Arial, Helvetica, sans-serif;
            text-align: left;
        }
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="formulario" runat="server">
    <table class="style10">
        <tr>
            <td class="style24" colspan="2">
                Agregar Nuevo Local:</td>
        </tr>
        <tr>
            <td class="style27">
                Nombre :</td>
            <td class="style12">
                <span class="style25">
                <asp:TextBox ID="nombreLocal" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator id="CheckUsrname" runat="server"
                 ControlToValidate="nombreLocal"
                 ErrorMessage="Campo Requerido"
                 Display="Dynamic"
                 ForeColor="Red">
                </asp:RequiredFieldValidator>
                
                </span>
                
                <span class="Apple-style-span" 
                    style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
                <span class="style25" 
                    style="color: rgb(102, 102, 102); font-size: 12px; line-height: 18px; ">
                <span class="Apple-converted-space">&nbsp;</span></span></span></td>
        </tr>
        <tr>
            <td class="style18">
                Dirección:</td>
            <td class="style15" 
            </td>   
        </tr>
                
       
                <tr>
            <td class="style23">
                      Calle:</td>
            <td align="right" class="style22">
                <asp:TextBox ID="calle" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server"
                 ControlToValidate="calle"
                 ErrorMessage="Campo Requerido"
                 Display="Dynamic"
                 ForeColor="Red">
                </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style19">
                Sector</td>
            <td align="right" class="style20">
                <asp:TextBox ID="sector" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server"
                 ControlToValidate="sector"
                 ErrorMessage="Campo Requerido"
                 Display="Dynamic"
                 ForeColor="Red">
                </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style27">
                Referencia:</td>
            <td align="right" class="style26">
                <asp:TextBox ID="referencia" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server"
                 ControlToValidate="referencia"
                 ErrorMessage="Campo Requerido"
                 Display="Dynamic"
                 ForeColor="Red">
                </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style27">
                Ciudad:</td>
            <td align="right" class="style12">
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    DataSourceID="SqlDataSource1" DataTextField="LUG_NOMBRE" 
                    DataValueField="LUG_ID">
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionString2.ProviderName %>" 
                    SelectCommand="SELECT &quot;LUG_ID&quot;, &quot;LUG_NOMBRE&quot; FROM &quot;LUGAR&quot; WHERE (&quot;LUG_TIPO&quot; = :LUG_TIPO)">
                    <SelectParameters>
                        <asp:Parameter DefaultValue="ciudad" Name="LUG_TIPO" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </td>
        </tr>
        <tr>
            <td class="style25">
                &nbsp;</td>
            <td align="right" class="style12">
                <span class="style25">
                <asp:Label ID="RESPUESTA" runat="server" style="color: #33CC33"></asp:Label>
                </span>
                <br class="style25" /> 
               
            </td>
        </tr>
        <tr>
            <td class="style17">
                &nbsp;</td>
            <td align="right" class="style16">
                <asp:Button ID="sendperfil" runat="server" onclick="sendperfil_Click" 
                    Text="Agregar" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Submenu" runat="server">
</asp:Content>
